//@author A0105735J
// This class is for mark command
#pragma once
#ifndef COMMANDMARK_H
#define COMMANDMARK_H
#include "command.h"
class CommandMark: public Command{
private:
	// markID contains all displayID typed by user
	std::vector<int> markID;
	// this vector contains pointers which point to events to be marked
	std::vector<Event*> undoMarkEvent;
public:
	CommandMark(void);
	~CommandMark(void);
	// set all the display ID to be marked
	void setID(std::vector<int>);
	// execute the mark command
	virtual Feedback execute(Receiver*);
	// execute the undo command
	virtual Feedback undo(Receiver*);
};
#endif

